<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>ETag output handler</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ob-deflatehandler.html">ob_deflatehandler</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ob-inflatehandler.html">ob_inflatehandler</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ob-etaghandler" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_etaghandler</h1>
  <p class="verinfo">(PECL pecl_http &gt;= 0.10.0)</p><p class="refpurpose"><span class="refname">ob_etaghandler</span> &mdash; <span class="dc-title">ETag output handler</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.ob-etaghandler-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>ob_etaghandler</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span>
   )</div>

  <p class="para rdfs-comment">
   用于<span class="function"><a href="function.ob-start.html" class="function">ob_start()</a></span>.
  </p>
  <p class="para">
   Output buffer handler generating an <em>ETag</em> with the hash algorithm 
   specified with the <a href="http.configuration.html" class="link">INI 设置</a> <a href="" class="link">http.etag.mode</a>.
  </p>
  <p class="para">
   This output handler is used by <span class="function"><a href="function.http-cache-etag.html" class="function">http_cache_etag()</a></span>.
  </p>
 </div>


 


 


 


 <div class="refsect1 seealso" id="refsect1-function.ob-etaghandler-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.http-cache-etag.html" class="function" rel="rdfs-seeAlso">http_cache_etag()</a> - Caching by ETag</span></li>
    <li class="member"><span class="function"><a href="function.http-match-etag.html" class="function" rel="rdfs-seeAlso">http_match_etag()</a> - Match ETag</span></li>
   </ul>
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ob-deflatehandler.html">ob_deflatehandler</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ob-inflatehandler.html">ob_inflatehandler</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
